package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.BuyCartBean;
import com.project.bean.BuyDetailBean;
import com.project.bean.BuyOrderBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface IBuyDetailMapper extends BaseMapper<BuyDetailBean> {
        void addDetail(@Param("orderId") Integer orderId, @Param("list") List<BuyCartBean> list);
        BuyOrderBean findById(Integer id);
}
